<template>

    <div class="tabDetail">
        <loading :loading-flag="loadingFlag"></loading>
        <goBack :title="currentIndex == 0
            ? '三位一体'
            : currentIndex == 1
                ? '强基计划'
                : currentIndex == 2
        ? '浙江新高考'
        : '高职提前批'"></goBack>
        <zixunLists @sendValue="sendValue" :id="id"></zixunLists>
    </div>
</template>

<script setup>

import { useRoute } from 'vue-router';
import goBack from '../../components/goBack.vue';
import { ref } from 'vue';
import zixunLists from './components/zixunLists.vue';
const route = useRoute();
const id = route.query.id;
const currentIndex = route.query.currentIndex;
let loadingFlag = ref(true);
const sendValue = () =>{
    loadingFlag.value = false;
}
</script>

<style lang="less" scoped>
.tabDetail {
    display: flex;
    flex-direction: column;
    padding: 0 8px;
}
</style>
